﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SharedGenomics.Core
{
    public interface IValidationMessageCollection
    {
        bool IsValid();
        bool IsValid(bool includeWarnings);
        IEnumerable<ValidationMessage> ErrorMessages { get; }
        IEnumerable<ValidationMessage> WarningMessages { get; }
        IEnumerable<ValidationMessage> AllMessages { get; }

        int ErrorCount { get; }
        int WarningCount { get; }
    }
}
